print

Prints the currently displayed web page content. This method leverages the Android printing framework to generate a print job. It is only available on devices running Android KitKat (API level 19) or higher.

On Android Lollipop (API level 21) and above, it uses PrintManager to create and manage the print job. A PrintDocumentAdapter is created from the WebView to handle the document generation for printing. The job name is constructed using the application name followed by " Document".

Note: The functionality to save the print job for later status checking is currently commented out.